package com.example.mybasedemo.app.presenter;

import android.content.Context;

import com.example.mybasedemo.Framewrok.base.BaseModel;
import com.example.mybasedemo.Framewrok.base.BasePresenter;
import com.example.mybasedemo.Framewrok.base.BaseView;
import com.example.mybasedemo.app.model.logic.TopLineListModel;

import java.util.List;

import rx.Observable;

/**
 * Created by dell on 2018/3/13.
 */

public interface MianContract {
    interface  View extends BaseView {
        void getViewVideoAllCate(List<TopLineListModel> cateLists);
    }
    interface Model extends BaseModel {
        Observable<List<TopLineListModel>> getModelVideoAllCate(Context context,String currentPage,String newsClassId);

    }
    abstract class Presenter extends BasePresenter<View,Model> {
        public abstract void  getPresenterVideoCatelist(String currentPage,String newsClassId);
    }
}
